package com.example.second.command.classes;

import com.example.second.command.interfaces.Command;

/**
 * @ClassName: LedOffCommand$
 * @Description: java类作用描述
 * @Author: xinya
 * @CreateDate: 2020/12/22$ 14:05$
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
public class LedOffCommand implements Command {
    private LedOff mLedOff;

    public LedOffCommand(LedOff ledOff) {
        mLedOff = ledOff;
    }

    @Override
    public void execute() {
        mLedOff.off();
    }
}
